# $Id: PKGBUILD 46965 2011-05-13 20:42:01Z andrea $
# Maintainer: Daniel J Griffiths <ghost1227@archlinux.us>
# Contributor: Aaron Griffin <aaron@archlinux.org>

pkgname=vim-guicolorscheme
pkgver=1.2
_scriptid=10162
pkgrel=3
pkgdesc="Auto convert gui-only colorschemes to 88/256 color terminal schemes"
arch=('any')
url="http://www.vim.org/scripts/script.php?script_id=1809"
depends=('vim')
license=('GPL')
groups=('vim-plugins')
source=(guicolorscheme.vim::"http://www.vim.org/scripts/download_script.php?src_id=$_scriptid")
md5sums=('6b2cac00ab870106c3c1c5409d799ffa')

package() {
  cd ${srcdir}
  installpath="${pkgdir}/usr/share/vim/vimfiles"

  install -D -m644 guicolorscheme.vim $installpath/plugin/guicolorscheme.vim
}
